package org.dbunit.operation;

import app.dbunit.QuotedNameUtils;

import org.dbunit.database.IDatabaseConnection;
import org.dbunit.ext.mssql.InsertIdentityOperation;

/**
 * @author Bribin
 */
public class InsertIdentityOperationExt extends InsertIdentityOperation {

    public InsertIdentityOperationExt(DatabaseOperation operation) {
        super(operation);
    }

    @Override
    protected String getQualifiedName(String prefix, String name, IDatabaseConnection connection) {
        String result = super.getQualifiedName(prefix, name, connection);
        return QuotedNameUtils.getQuotedName(connection, result);
    }

}
